add_repositories("private-repo https://gitee.com/SmartSmallBoy/private-xmake-repo.git")

includes("interfaces")
includes("common")

add_requires("hilog", {version = "0.0.4", configs = {shared = is_kind("shared")}})
add_requires("boundscheck", {version = "v1.1.16", configs = {shared = is_kind("shared")}})
add_requires("c_utils", {version = "0.0.1", configs = {shared = is_kind("shared")}})
add_requires("lzma", {version = "22.01", configs = {shared = is_kind("shared")}})

-- linux fix
add_defines("is_ohos=1", "getprocpid=getpid", "getproctid=gettid")
add_rules("mode.debug", "mode.release")
set_languages("c++17")
-- target("faultloggerd")
-- 	add_deps("backtrace_local")